CFLAGS := -Wall $(shell pkg-config fuse --cflags)
LDFLAGS := $(shell pkg-config fuse --libs)
CC = gcc

targets = cgifs

all: $(targets)

test: cgifs
	perl -MTest::Harness -e 'runtests("test.pl")'

install: cgifs
	cp ./cgifs /usr/local/bin

.PHONY: all test

clean:
	rm -f *.o
	rm -f $(targets)
